package com.aimls.properties;

import java.util.Hashtable;

public class HashTableDemo {

	public static void main(String[] args) {
		Hashtable<String,Integer> numbers = new Hashtable<String,Integer>();
		
		numbers.put("one", 1);
		numbers.put("two", 2);
		numbers.put("two", 3);
		
		Integer n = numbers.get("three");
		if(n != null){
			System.out.println("two:"+n);
		}else{
			System.out.println("Null.");
		}
	}
}
